Time Entry Application: Sample Workflow for Designing and Building Applications in Flash MX Professional 2004
Table of Contents
Installing the Time Entry Application
It's relatively straightforward to install the Time Entry sample application.
First set up the project. Unzip time_entry.zip into a folder on your hard drive, called TimeEntry. You should see the following structure:
TimeEntry\TimeEntry.flp (the Flash project file)
TimeEntry\TimeEntry.fla
TimeEntry\TimeEntry.swf
TimeEntry\cfc\RDBMSProcessor.cfc (the ColdFusion component)
TimeEntry\data\TimeEntry.mdb (the Access database)
TimeEntry\src\com\macromedia\timeentry\Application.as
TimeEntry\src\com\macromedia\timeentry\TimeEntry.as
TimeEntry\src\com\macromedia\timeentry\TimeEntryData.as
TimeEntry\src\com\macromedia\timeentry\Reconcile.as
TimeEntry\src\com\macromedia\timeentry\Log.as
TimeEntry\src\com\macromedia\timeentry\Project.as
TimeEntry\src\com\macromedia\timeentry\Client.as
Next set up the ColdFusion component. Add a ColdFusion data source for the Access database (MDB file):
- Open ColdFusion administrator.
- Click the Data Sources link.
- Type TimeEntry in the Data Source Name edit box. Select Microsoft Access from the Driver combo box. Click Add.
- Click the Browse button and navigate to the MDB file (TimeEntry\data\TimeEntry.mdb).
- Click Submit.
- Verify that the new data source has a status "OK."
-
Save the TimeEntry\cfc\RDBMSProcessor.cfc file to the web root of your ColdFusion folder:
- In version 6.0, put it in the wwwroot folder under your ColdFusion installation folder.
- In version 6.1, put it in the JRun4\servers\cfusion\cfusion-ear\cfusion-war folder.
Note: The sample ColdFusion Component gives you the ability to run a query statement against any ColdFusion data source that you have set up on your machine. You should install it to the web root folder only within a development environment behind a secure firewall or on a computer that is not connected to the Internet! If you intend to use this component in a production environment you must take the necessary steps to secure it.